<?php

namespace App\Http\Controllers\Member;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Member\Banner;

class BannerController extends Controller
{
    public function getList(Request $request)
    {
        $type = $request['type'];
        $banner = new Banner;
        $data = $banner->getList($type);

        return $this->successClient($data); 
    }
}
